package com.myproject.mall.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum IssueStatus {
    UNUSED(0, "未使用"),
    USED(1, "已使用");

    @EnumValue
    private final Integer code;
    @JsonValue
    private final String message;
}
